# __author: iamironman
from django.db import models


class BaseModel(models.Model):
    orders = models.IntegerField(null=True, blank=True, verbose_name='显示顺序')
    is_show = models.BooleanField(verbose_name='是否上架', default=False)
    is_delete = models.BooleanField(verbose_name='逻辑删除', default=False)
    create_time = models.DateTimeField(auto_now_add=True, verbose_name='添加时间')
    update_time = models.DateTimeField(auto_now=True, verbose_name='更新时间')

    class Meta:
        abstract = True
